<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			* {
				margin: 0;
				padding: 0;
			}

			.container {
				height: 70px;
				width: 800px;
				margin: 100px auto 0 auto;
			}

			.parent {
				position: relative;
			}

			.search {
				width: 300px;
				height: 40px;
				border-radius: 18px;
				outline: none;
				border: 1px solid #ccc;
				padding-left: 20px;
				position: absolute;
			}

			.btn {
				height: 25px;
				width: 25px;
				position: absolute;
				top: 10px;
				left: 285px;
				border: none;
				outline: none;
				cursor: pointer;
			}
		</style>
	</head>
	<body>
		<div class="container">
			<form action="" class="parent">
				<input type="text" class="search" placeholder="搜索">
				<img src="img/search.svg" class="btn"></img>
			</form>
		</div>
	</body>
</html>
